package com.qj.yantaishan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 图文对象 shanglala_image_text
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class ImageText
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long pigcmsId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer storeId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 封面图 */
    @Excel(name = "封面图")
    private String coverPic;

    /** 介绍 */
    @Excel(name = "介绍")
    private String digest;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 外链 */
    @Excel(name = "外链")
    private String url;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Integer dateline;

    /** 封面图是否显示正文（0:不显示，1：显示） */
    @Excel(name = "封面图是否显示正文", readConverterExp = "0=:不显示，1：显示")
    private Integer isShow;

    /** 外链名称 */
    @Excel(name = "外链名称")
    private String urlTitle;

    public void setPigcmsId(Long pigcmsId) 
    {
        this.pigcmsId = pigcmsId;
    }

    public Long getPigcmsId() 
    {
        return pigcmsId;
    }
    public void setStoreId(Integer storeId) 
    {
        this.storeId = storeId;
    }

    public Integer getStoreId() 
    {
        return storeId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setCoverPic(String coverPic) 
    {
        this.coverPic = coverPic;
    }

    public String getCoverPic() 
    {
        return coverPic;
    }
    public void setDigest(String digest) 
    {
        this.digest = digest;
    }

    public String getDigest() 
    {
        return digest;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setDateline(Integer dateline) 
    {
        this.dateline = dateline;
    }

    public Integer getDateline() 
    {
        return dateline;
    }
    public void setIsShow(Integer isShow) 
    {
        this.isShow = isShow;
    }

    public Integer getIsShow() 
    {
        return isShow;
    }
    public void setUrlTitle(String urlTitle) 
    {
        this.urlTitle = urlTitle;
    }

    public String getUrlTitle() 
    {
        return urlTitle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pigcmsId", getPigcmsId())
            .append("storeId", getStoreId())
            .append("title", getTitle())
            .append("author", getAuthor())
            .append("coverPic", getCoverPic())
            .append("digest", getDigest())
            .append("content", getContent())
            .append("url", getUrl())
            .append("dateline", getDateline())
            .append("isShow", getIsShow())
            .append("urlTitle", getUrlTitle())
            .toString();
    }
}
